package com.ckjava.test.service;

import com.ckjava.test.dao.DataUserTaskDao;
import com.ckjava.test.entity.DataUserTask;
import com.ckjava.test.service.DataUserTaskService;
import com.ckjava.test.service.base.BaseMybatisCrudService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class DataUserTaskService extends BaseMybatisCrudService<DataUserTaskDao, DataUserTask> {


	@Transactional(readOnly = true)
	public DataUserTask findByPHIDs(String userPHID, String taskPHID) {
		return dao.findByPHIDs(userPHID, taskPHID);
	}

}